<B:UIVKPOS x:Class="WPFExcelReport.TFVK05"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
    xmlns:UserControls="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Controls"
    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
    xmlns:VK="clr-namespace:WPFExcelReport;assembly=TVKKOPF"
    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
    xmlns:KD="clr-namespace:WPFExcelReport;assembly=TKDSTAMM" 
    xmlns:WD="clr-namespace:WPFExcelReport;assembly=TWDECK"
    xmlns:WG="clr-namespace:WPFExcelReport;assembly=TWGBST"
    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART" 
    xmlns:VF="clr-namespace:WPFExcelReport;assembly=TVAFARBEN" 
    xmlns:WFW="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"
    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
    xmlns:ZB="clr-namespace:WPFExcelReport;assembly=TVKZUAB"  
    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"
             xmlns:B="clr-namespace:WPFExcelReport;assembly=TVKPOS"
    xmlns:VKD="clr-namespace:WPFExcelReport;assembly=TVKADR"   
    xmlns:VRP="clr-namespace:WPFExcelReport;assembly=TVRPOS"   
    xmlns:me="clr-namespace:WPFExcelReport"  
    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
    FontSize="14"
    x:Name="TV"
    Loaded="Window_Loaded"
 >
    <B:UIVKPOS.Resources>
        <CollectionViewSource   x:Key="vwMaster" />
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:BM2YD x:Key="BM2YD"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:TextTrimmingConverter  x:Key="trim"/>
        <ucd:PreisConverter  x:Key="price"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:SDKEYCONV x:Key="sd"/>
    </B:UIVKPOS.Resources>
    <StackPanel>
        <StackPanel  Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" >
            <WrapPanel  Margin="10,0,0,0" VerticalAlignment="Top">  
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=行类型}}"/>
                    <TextBlock Grid.Column="1"  Text="{Binding VKPPOSTYP,Converter={StaticResource sd},ConverterParameter=0253}"/>
                    
                </Grid>
                <WrapPanel>
                    <Grid  >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=内包装:}}"/>
                        <TextBlock Grid.Column="1"   Text="{Binding VKPAUFMART}" Width="Auto"/>
                        <TextBlock Grid.Column="2"  Text="{Binding VKPAUFMART,Converter={StaticResource sd},ConverterParameter=0114}"/> 
                    </Grid>
                    <Grid  >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=外包装:}}"/>
                        <TextBlock Grid.Column="1"   Text="{Binding VKPVERPART}" Width="Auto"/>
                        <TextBlock Grid.Column="2"  Text="{Binding VKPVERPART,Converter={StaticResource sd},ConverterParameter=0114}"/>
                    </Grid>
                </WrapPanel> 
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" FontSize="18" Text="{Binding Source={Localization:Translate Word=客户品种}}"/>
                    <TextBlock Grid.Column="1"   Text="{Binding VKPKDARTNR,Converter={StaticResource gb2312}}" 
                              Width="80"/>
                </Grid>
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=色号}}"/>
                    <TextBlock Grid.Column="1" Text="{Binding VKPKDFARBNR,Converter={StaticResource gb2312}}" 
                               Width="30" />
                </Grid>
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=描述}}"/>
                    <TextBlock Grid.Column="1"  Text="{Binding VKPKDBEZ,Converter={StaticResource gb2312}}"  
                              Width="120"/>
                </Grid>
            </WrapPanel>
        </StackPanel>
        <StackPanel  Grid.Column="0">
            <WrapPanel >
                <Grid Margin="10,0,0,0" VerticalAlignment="Top">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=状态}}"   FontSize="18"></TextBlock>
                    <SD:K14SA Grid.Column="2" IsEnabled="False"
                                   EXAUF="{Binding BSTSTA,ElementName=TV}" 
                                  />
                </Grid>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=客户请求}}"/>
                    <TextBlock Grid.Column="1"    
                                       Text="{Binding VKPWUTERM}"    Width="Auto"/>
                </Grid>

                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=交期}}"/>
                    <TextBlock Grid.Column="1"    
                                       Text="{Binding VKPLIEFTERM}"   Width="Auto"/>
                </Grid>
             
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=单价}}"/>
                    <TextBlock Grid.Column="1" 
                                       Name="txtPrice"
                                       Text="{Binding VKPPREIS,Converter={StaticResource price}}"    Width="Auto"/>
                </Grid>

                <TextBlock  Text="{Binding WAEHRSL,ElementName=TV}"/>
                <TextBlock  Text="{Binding Source={Localization:Translate Word=/}}"/>
                <TextBlock  Text="{Binding VKPMEEH, Source={StaticResource vwMaster}}"/>
                <WrapPanel>
                    <TextBlock   FontSize="18" Text="{Binding Source={Localization:Translate Word=数量}}"/>
                    <TextBlock   Grid.Row="1" Grid.Column="1"   Width="80"   Text="{Binding VKPMENGE1,Converter={StaticResource d100}}" /> 
                    <TextBlock   FontSize="18" Text="{Binding VKPMEEH}"/>  
                </WrapPanel>
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=金额}}"/>
                    <TextBlock Grid.Column="1"  Text="{Binding VKPPOSWERT}" Width="Auto"/>
                </Grid>

                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0"  Text="{Binding Source={Localization:Translate Word=短/溢}}"/>
                    <TextBlock Grid.Column="1" Text="{Binding VKPZUSATZ,Converter={StaticResource gb2312}}"     Width="Auto"/>
                </Grid> 
                <TextBlock Text="{Binding Source={Localization:Translate Word=更改:}}"/>
                <TextBlock  Text="{Binding VKPAENDBEN}" Width="Auto"/>
                <TextBlock  Text="{Binding VKPAENDDAT}" Width="Auto"/>
                <TextBlock Text="{Binding Source={Localization:Translate Word=创建:}}"/>
                <TextBlock  Text="{Binding VKPNEUBEN}" Width="Auto"/>
                <TextBlock  Text="{Binding VKPNEUDAT}" Width="Auto"/>
                <TextBlock Text="{Binding Source={Localization:Translate Word=负责人:}}"/>
                <TextBlock  Text="{Binding VKPSACHBE}" Width="Auto"/>
            </WrapPanel>
        </StackPanel>
    </StackPanel>
</B:UIVKPOS>
